6V新版[磁].js 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. var rule = {
  2. title:'6V新版[磁]',
  3. host:'http://www.xb6v.com',
  4. // host:'https://www.66s6.net',
  5. // url: '/fyclass/index_fypage.html[/fyclass/index.html]',
  6. url: '/fyclassfyfilter/index_fypage.html[/fyclassfyfilter/index.html]',
  7. filter_url:'{{fl.class}}',
  8. filter:{
  9. "dianshiju":[{"key":"class","name":"类型","value":[{"n":"全部","v":""},{"n":"国剧","v":"/guoju"},{"n":"日韩剧","v":"/rihanju"},{"n":"欧美剧","v":"/oumeiju"}]}]
  10. },
  11. searchUrl: '/e/search/index.php#show=title&tempid=1&tbname=article&mid=1&dopost=search&submit=&keyboard=**;post',
  12. searchable:2,
  13. quickSearch:0,
  14. filterable:1,
  15. headers:{
  16. 'User-Agent': 'MOBILE_UA'
  17. },
  18. timeout:5000,
  19. class_parse:'#menus&&li:gt(1);a&&Text;a&&href;.*/(.*)/',
  20. cate_exclude:'欧美剧|旧版6v',
  21. play_parse:true,
  22. limit:6,
  23. 推荐: '*',
  24. 一级: '#post_container&&li;h2&&Text;img&&src;.info_date&&Text;a&&href',
  25. 二级: {
  26. "title": "#content&&h1&&Text;.info_category&&Text",
  27. "img": "#post_content&&img&&src",
  28. "desc": ";;;#post_content&&p:eq(0)&&Text;#post_content&&p:eq(2)&&Text",
  29. "content": "#post_content&&p:eq(1)&&Text",
  30. "tabs": `js:
  31. TABS = ["道长磁力"];
  32. let tabs = pdfa(html, '#content&&h3:not(:contains(网盘))');
  33. tabs.forEach((it) => {
  34. TABS.push(pdfh(it, "body&&Text").replace('播放地址','道长在线').replace('(无插件 极速播放)','一').replace('(无需安装插件)','二'))
  35. });
  36. `,
  37. "lists": `js:
  38. log(TABS);
  39. pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
  40. LISTS = [];
  41. let i = 1;
  42. TABS.forEach(function(tab) {
  43. if (/道长磁力/.test(tab)) {
  44. var d = pdfa(html, '.context&&td');
  45. d = d.map(function(it) {
  46. var title = pdfh(it, 'a&&Text');
  47. var burl = pd(it, 'a&&href');
  48. return title + '$' + burl
  49. });
  50. LISTS.push(d)
  51. } else if (/道长在线/.test(tab) && i <= TABS.length-1) {
  52. var d = pdfa(html, '.context&&.widget:eq(list_idx)&&a'.replace("list_idx", i));
  53. d = d.map(function(it) {
  54. var title = pdfh(it, 'a&&Text');
  55. var burl = pd(it, 'a&&href');
  56. return title + '$' + burl
  57. });
  58. LISTS.push(d)
  59. i = i + 1;
  60. }
  61. });
  62. `,
  63. },
  64. 搜索: '*',
  65. }